package com.ruoyi.mapper;

import java.util.List;
import com.ruoyi.domain.RecipeInfo;

/**
 * RecipeInfoMapper接口
 * 
 * @author ruoyi
 * @date 2025-01-11
 */
public interface RecipeInfoMapper 
{
    /**
     * 查询RecipeInfo
     * 
     * @param recipeId RecipeInfo主键
     * @return RecipeInfo
     */
    public RecipeInfo selectRecipeInfoByRecipeId(Long recipeId);

    /**
     * 查询RecipeInfo列表
     * 
     * @param recipeInfo RecipeInfo
     * @return RecipeInfo集合
     */
    public List<RecipeInfo> selectRecipeInfoList(RecipeInfo recipeInfo);

    /**
     * 新增RecipeInfo
     * 
     * @param recipeInfo RecipeInfo
     * @return 结果
     */
    public int insertRecipeInfo(RecipeInfo recipeInfo);

    /**
     * 修改RecipeInfo
     * 
     * @param recipeInfo RecipeInfo
     * @return 结果
     */
    public int updateRecipeInfo(RecipeInfo recipeInfo);

    /**
     * 删除RecipeInfo
     * 
     * @param recipeId RecipeInfo主键
     * @return 结果
     */
    public int deleteRecipeInfoByRecipeId(Long recipeId);

    /**
     * 批量删除RecipeInfo
     * 
     * @param recipeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRecipeInfoByRecipeIds(Long[] recipeIds);
}
